(function() {
	var e = seajs.debug;
	var b = "gfaa3d37";
	function a() {
		var j = new Date();
		var i = $("#js_meta").attr("content");
		var h = 5;
		vBase = "?v=" + j.getFullYear() + (j.getMonth() - 0 + 1) + j.getDate() + j.getHours();
		vTail = "ad" + Math.ceil(j.getMinutes() / h);
		var k = i + vBase + vTail;
		return k
	}
	var f = {
		common: "/tugoweb/3.0/js/common-min",
		fixed: "/tugoweb/3.0/js/fixed-min",
		jquery: "/lib/jquery/jquery-sea-fake-min",
		easing: "/lib/jquery-ui/1.8.18/jquery.effects.core-sea-min",
		common_plugins: "/lib/tpl/3.0/js/common_plugins-min",
		modal: "/lib/tpl/3.0/js/modal-min",
		alert: "/lib/tpl/3.0/js/alert-min",
		spinjs: "/lib/spinjs/1.2.1/spin-min",
		lazyload: "/lib/jquery-lazyload/1.7.2/lazyload-sea-min",
		tabs: "/lib/tabs/1.0/tabs-min.js",
		uploadify: "/lib/uploadify/jquery.uploadify-3.1-min",
		hoverInter: "/lib/hoverIntent/r6/hoverIntent-min",
		requiretabs: "/lib/requiretabs/1.0.0.6/tabs-min",
		masonry: "/lib/masonry/jquery.masonry.sea.min",
		imagesloaded: "/lib/jquery-imagesloaded/jquery.imagesloaded.sea.min.js",
		slide: "/lib/slide/slide.js",
		validator: "/lib/validator/validator",
		mustache: "/lib/mustache/0.7.2/mustache-min",
		aop: "/lib/jquery-aop/1.3/aop-min"
	};
	var d = window.pversion || "";
	if (d !== "") {
		var g = function(j, i, p) {
			var o,
			k,
			n = 0,
			m = j.length,
			l = void 0 === m || jQuery.isFunction(j);
			if (p) {
				if (l) {
					for (o in j) {
						if (i.apply(j[o], p) === !1) {
							break
						}
					}
				} else {
					for (; m > n && i.apply(j[n++], p) !== !1;) {}
				}
			} else {
				if (l) {
					for (o in j) {
						if (i.call(j[o], o, j[o]) === !1) {
							break
						}
					}
				} else {
					for (k = j[0]; m > n && i.call(k, n, k) !== !1; k = j[++n]) {}
				}
			}
			return j
		};
		g(f,
		function(h) {
			f[h] = "/" + d + f[h]
		})
	}
	if (e) {
		for (var c in f) {
			if (f.hasOwnProperty(c)) {
				f[c] = f[c].replace("-min", "")
			}
		}
		window.debug = true
	} else {
		window.debug = false
	}
	seajs.config({
		alias: f,
		map: [[/^((?!.*?adv_all)(.*?)*\.(?:css|js))(.*)$/i, "$1?v=" + (e ? Math.random() : b)]]
	});
	if (document.getElementById("js_meta")) {
		seajs.pluginSDK.data.config.alias.adv_all = a()
	}
	define(["jquery", "easing", "common", "common_plugins"],
	function(j, h) {
		if (typeof console == "undefined") {
			window.console = {
				log: function() {}
			}
		}
		var l = j("jquery");
		try {
			j("easing")(l);
			j("common_plugins")(l)
		} catch(i) {
			console.log(i)
		}
		try {
			var k = j("common");
			k.init();
			window.common = k
		} catch(i) {
			console.log(i)
		}
		h.load = function(m) {
			var n = Array.prototype.slice.call(arguments, 1);
			var p = window.pversion ? "/" + window.pversion + "/tugoweb/3.0/js/": "/tugoweb/3.0/js/";
			var o = p + m + (e ? "": "-min") + ".js?v=" + (e ? Math.random() : b);
			j.async(o,
			function(r) {
				try {
					window[m] = r
				} catch(q) {
					console.log(q)
				}
				try {
					if (r.init) {
						r.init.apply(r, n)
					}
				} catch(q) {
					console.log(q)
				}
				try {
					k.init_afterMod()
				} catch(q) {
					console.log(q)
				}
			})
		}
	})
})();